<%@ Page Language="C#" MasterPageFile="~/MasterPages/Default.Master" AutoEventWireup="true" CodeBehind="Signup.aspx.cs" Inherits="Mindscape.BackgroundMotion.Website.Signup" Title="Signup" %>
<asp:Content ContentPlaceHolderID="BodyContent" runat="server">
  
  <asp:Panel ID="LoginDefaultButtonPanel" runat="server" DefaultButton="SignupButton">
  
  <p>Here you can create an account and start contributing to the community</p>
      
  <asp:Repeater ID="ErrorsRepeater" runat="server">
    <HeaderTemplate>
      <div class="errors">
    </HeaderTemplate>
    <ItemTemplate>
        <%# Eval("Message") %><br />
    </ItemTemplate>
    <FooterTemplate>
      </div>
    </FooterTemplate>
  </asp:Repeater>
  
  <div id="formBox">
  <div class="row">
    <span class="label">Username:</span><asp:TextBox ID="Username" runat="Server" />
  </div>
  <div class="row">
    <span class="label">Email:</span><asp:TextBox ID="EmailAddress" runat="Server" />
  </div>
  <div class="row">
    <span class="label">Password:</span><asp:TextBox ID="Password" runat="server" TextMode="Password" />
  </div>
  <div class="row">
    <span class="label">&nbsp;</span><asp:Button ID="SignupButton" runat="server" Text="Signup" OnClick="SignupButton_Click" CssClass="button" />
  </div>    
  </div>
  </asp:Panel>
  
  <mindscape:WebDataBinder ID="DataBinder" runat="server">
  <BindingItems>
    <mindscape:WebDataBindingItem runat="server" BindingSource="CurrentMember" BindingSourceMember="Username" TargetControl="Username" BindingMode="TwoWay" />
    <mindscape:WebDataBindingItem runat="server" BindingSource="CurrentMember" BindingSourceMember="Email" TargetControl="EmailAddress" BindingMode="TwoWay" />
    <mindscape:WebDataBindingItem runat="server" BindingSource="CurrentMember" BindingSourceMember="Password" TargetControl="Password" BindingMode="TwoWay" />
  </BindingItems>
  </mindscape:WebDataBinder>
</asp:Content>
